home *** CD-ROM | disk | FTP | other *** search
- #
- # Zustands-▄berwachungs-Script
- # State Watch Script
- #
- # Navigation Artefact
- #
- # created: 22-Jun-2000 af
- #
- # (C) COPYRIGHT 2000 RADONLABS GMBH
- #
-
-
- # --------------------------------------------------------
- # N A V I G A T I O N
- # --------------------------------------------------------
- proc navigation_normal {} {
-
- # kann den Artefakt-Mode nicht verlassen. Kann nur aufgesammelt
- # werden
- if {[.iscollected] == "true"} {
- .announcestate backpack
- }
- }
-
- proc navigation_backpack {} {
-
- # Moeglich: ausgeworfen (Nicht mehr "gesammelt"), im
- # Menue gezeigt (sichtbar) oder im QuickSlot.
- if {[.iscollected] == "false"} {
- .announcestate normal
- } elseif {[.isvisible] == "true"} {
- .announcestate menue
- }
- }
-
- proc navigation_usage {} {
-
- # fire event and remove itself
- .setremoveable true
- }
-
- proc navigation_menu {} {
-
- # Auswerfen oder Quickslot/Ruecknehmen (beides unsichtbar)
- if {[.isvisible] == "false"} {
- .announcestate backpack
- } elseif {[.iscollected] == "false"} {
- .announcestate normal
- } elseif {[.getartefactuse] == "true"} {
- .announcestate usage
- }
- }
-
- proc navigation_cinematic {} {
-
- # empty
- }
-
-